package cn.tedu.tmall.basic.schedule;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class DistrictSchedule {

    @Scheduled(cron = "0 * 5-15 ? 9 MON 2023")
    public void xxx() {
        log.debug("DistrictSchedule.xxx()");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
